package com.lzjt.mapper;

import com.lzjt.domain.Sale;
import com.lzjt.entity.SaleEntity;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SaleMapper {
    List<Sale> getAllSale(String name);
    Sale getSaleById(Integer id);
    int saveSale(SaleEntity sale);
    int deleteSaleById(Integer id);
    int updataSaleById(Sale sale);
}
